package com.tyqx.hashchainbean.module;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;

public class SysUser implements Serializable {

    //主键
    private Long userId;
    //登录账号
    private String userCode;
    //登录密码
    @JSONField(serialize=false)
    private String userPassword;
    //用户昵称
    private String userName;
    //用户性别(男:1，女：2)
    private Integer userSex;
    //手机号
    private String userPhone;
    //邮箱
    private String userEmail;
    //激活（1：激活，0：未激活/禁用）
    private Integer userActivate;
    //创建时间
    private String userCreationDate;
    //创建人
    private Long userCreatedBy;
    //修改时间
    private String userModifyDate;
    //修改人
    private Long userModifyBy;


    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return this.userId;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getUserCode() {
        return this.userCode;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public String getUserPassword() {
        return this.userPassword;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserName() {
        return this.userName;
    }

    public void setUserSex(Integer userSex) {
        this.userSex = userSex;
    }

    public Integer getUserSex() {
        return this.userSex;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getUserPhone() {
        return this.userPhone;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail;
    }

    public String getUserEmail() {
        return this.userEmail;
    }

    public void setUserActivate(Integer userActivate) {
        this.userActivate = userActivate;
    }

    public Integer getUserActivate() {
        return this.userActivate;
    }


    public Long getUserCreatedBy() {
        return userCreatedBy;
    }

    public void setUserCreatedBy(Long userCreatedBy) {
        this.userCreatedBy = userCreatedBy;
    }

    public Long getUserModifyBy() {
        return userModifyBy;
    }

    public void setUserModifyBy(Long userModifyBy) {
        this.userModifyBy = userModifyBy;
    }

    public String getUserCreationDate() {
        return userCreationDate;
    }

    public void setUserCreationDate(String userCreationDate) {
        this.userCreationDate = userCreationDate;
    }

    public String getUserModifyDate() {
        return userModifyDate;
    }

    public void setUserModifyDate(String userModifyDate) {
        this.userModifyDate = userModifyDate;
    }
}
